import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'splash_controller.dart';

class SplashPage extends StatelessWidget {
  final controller = Get.put(SplashController());

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        fit: StackFit.expand,
        alignment: AlignmentDirectional.center,
        children: [
          Positioned(
            child: Image.asset(
              "images/bg_splash.png",
              fit: BoxFit.fill,
            ),
          ),
          Positioned(
            top: 196,
            child: Image.asset(
              "images/ic_splash_logo.png",
            ),
          ),
          Positioned(
            bottom: 55,
            child: Image.asset(
              "images/ic_splash_text.png",
            ),
          ),
        ],
      ),
    );
  }
}
